<template>
  <div class="dashboard-container">你好{{ userInfo.name }}</div>
</template>

<script>
import { mapState } from "vuex";

export default {
  name: "Dashboard",
  computed: {
    ...mapState("login", ["userInfo"]),
  },
};
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
</style>
